<?php
namespace App\Controller;
use Think\Controller;
class RouteController extends Controller {

	public function index()
	{
		$data = G_DATA();
        if(checkToken($data)=="false")
        {
            //参数不正确
            error('E1010');
            exit;
        }

        $data = M('route')  -> select();
        
        if($data)
        {
            success($data);
        }else
        {
            error('E1003');
        }

	}


}